#ifndef YEPXML_TYPE_HPP
#define YEPXML_TYPE_HPP

namespace yxml
{
    /**@enum Type
     * @brief The node types.
     *
     * These are the possible nodes. Some function can receive they or'd combinated
     *  to specify a filter. The NONE and ALL represents, represents respectively all or'd combinated and
     *  none or'd combinated (like TAG | TEXT | COMMENT and TAG & TEXT & COMMENT).
     *
     * The NONE value also is used to indicate a NULL object and is return wheter a Node can't be found (as
     *  in case there is no more items or, at least, no more items matching the specified filter.
     * @author Tales Miranda.
     **/
    enum Type
    {
        NONE      = 0x80, ///< Lead Errors
        ALL       = 0x0F, ///< Use in function next(), previous(), nextBrother(), etc, to filter all the types.
        TAG       = 0x01, ///< A tag
        TEXT      = 0x02, ///< PlainText
        COMMENT   = 0x04  ///< A comment
    };
}

#endif // YEPXML_TYPE_HPP
